Method AlignArrayBaseRecords(List<ValueTreeNode>, List<ValueTreeNode>, List<RedbValue>)
Aligns array base record IDs between old and new trees.
Replaces NEW IDs from memory with EXISTING IDs from DB for array base records.
This is needed to avoid FK constraint violations.
protected void AlignArrayBaseRecords(List<ValueTreeNode> oldTree, List<ValueTreeNode> newTree, List<RedbValue> valuesList)